package cn.iocoder.yudao.module.scrm.annotations;

import cn.iocoder.yudao.module.scrm.enums.common.CrmBizTypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 删除接口校验注解
 * @Author LiZhiMin
 * @Date 2024/9/12 18:26
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface InterfaceDeleteValidator {
    CrmBizTypeEnum tableType() default CrmBizTypeEnum.CRM_CUSTOMER;

    CrmBizTypeEnum strategyType() default CrmBizTypeEnum.CRM_CUSTOMER_RELEVANT_DATA;
}
